<html><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>ClearConsole</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">ClearConsole()</font></b></p>
<p><b>Syntax</b></p><blockquote>
<font color="#006666"><b>ClearConsole</b></font>()</blockquote>

<b>Description</b><br><blockquote>



Clears the whole console content using the current background color. The background color is set 
with <a href="consolecolor.html">ConsoleColor()</a>. The console has to be in graphical mode, see 
<a href="enablegraphicalconsole.html">EnableGraphicalConsole()</a>. 

 

</blockquote><p><b>Parameters</b></p><blockquote>

None.



</blockquote><p><b>Return value</b></p><blockquote>

None.





</blockquote><p><b>Example</b></p><blockquote>

<pre><font face="Courier New, Courier, mono"size="2">  <b><font color="#006666">If</font></b> <font color="#006666">OpenConsole</font>()
<font color="#006666">    EnableGraphicalConsole</font>(1)
  
<font color="#006666">    PrintN</font>("You will never see me")
<font color="#006666">    ClearConsole</font>()
    
<font color="#006666">    PrintN</font>("Press return to exit")
<font color="#006666">    Input</font>()
  <b><font color="#006666">EndIf</font></b>
</font></pre>

</blockquote><p><b>See Also</b></p><blockquote>

<a href="enablegraphicalconsole.html">EnableGraphicalConsole()</a>, <a href="consolecolor.html">ConsoleColor()</a> 

</Blockquote><p><b>Supported OS  </b><Blockquote>Windows</Blockquote></p><center><a href=index.html>Console Index</a> - <a href=closeconsole.html>CloseConsole()</a> -&gt;



</body></html>